ls102xa: qixis: Add CONFIG_QIXIS_I2C_ACCESS macro
authorAlison Wang <[email protected]>
Wed, 3 Dec 2014 07:00:46 +0000 (15:00 +0800)
committerYork Sun <[email protected]>
Thu, 11 Dec 2014 17:39:06 +0000 (09:39 -0800)
commit2565d18de0c57d95b32686f11aa98fd40d8a7e26
tree540e84ad8592cd64ac5d345230b298e5f9f9bd4d
parent50f0c6632527cbdc3c67f60a7f51ccba2564b567
ls102xa: qixis: Add CONFIG_QIXIS_I2C_ACCESS macro

Through adding CONFIG_QIXIS_I2C_ACCESS macro,
QIXIS_READ(reg)/QIXIS_WRITE(reg, value) can be used
for both i2c and ifc access to QIXIS FPGA. This is
more convenient for coding.

Signed-off-by: Jason Jin <[email protected]>
Signed-off-by: Alison Wang <[email protected]>
Reviewed-by: York Sun <[email protected]>
board/freescale/common/qixis.h